Optimal. Leaf size=18 \[ \frac{\cot (e+f x) \csc ^3(e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0220708, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048, Rules used = {3011} \[ \frac{\cot (e+f x) \csc ^3(e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin{align*} \int \csc ^5(e+f x) \left (-4+3 \sin ^2(e+f x)\right ) \, dx &=\frac{\cot (e+f x) \csc ^3(e+f x)}{f}\\ \end{align*}
Mathematica [B] time = 0.0318164, size = 39, normalized size = 2.17 \[ \frac{\csc ^4\left (\frac{1}{2} (e+f x)\right )}{16 f}-\frac{\sec ^4\left (\frac{1}{2} (e+f x)\right )}{16 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.076, size = 47, normalized size = 2.6 \begin{align*}{\frac{1}{f} \left ( -4\, \left ( -1/4\, \left ( \csc \left ( fx+e \right ) \right ) ^{3}-3/8\,\csc \left ( fx+e \right ) \right ) \cot \left ( fx+e \right ) -{\frac{3\,\csc \left ( fx+e \right ) \cot \left ( fx+e \right ) }{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.946263, size = 43, normalized size = 2.39 \begin{align*} \frac{\cos \left (f x + e\right )}{{\left (\cos \left (f x + e\right )^{4} - 2 \, \cos \left (f x + e\right )^{2} + 1\right )} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.54045, size = 78, normalized size = 4.33 \begin{align*} \frac{\cos \left (f x + e\right )}{f \cos \left (f x + e\right )^{4} - 2 \, f \cos \left (f x + e\right )^{2} + f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16458, size = 132, normalized size = 7.33 \begin{align*} -\frac{\frac{{\left (\frac{2 \,{\left (\cos \left (f x + e\right ) - 1\right )}}{\cos \left (f x + e\right ) + 1} - 1\right )}{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}{{\left (\cos \left (f x + e\right ) - 1\right )}^{2}} - \frac{2 \,{\left (\cos \left (f x + e\right ) - 1\right )}}{\cos \left (f x + e\right ) + 1} + \frac{{\left (\cos \left (f x + e\right ) - 1\right )}^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}}{16 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]